package com.rein.spring.ioc._02_annotation;

import com.rein.spring.ioc.model.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Config {
    @Bean
    public Person person() {
        return new Person("", 26, "注解声明");
    }
}
